<?php
// include './Process.php';
// $process = new \Process\Process(100, 'test', function(){echo 'run!!!'.PHP_EOL;},1,200,'./test/');
// $process->run(0 ,1);
//
///*echo getmypid(),PHP_EOL;
//pcntl_signal(SIGHUP, function(){});
//
//sleep(100);
//echo 'interrup!';*/
//
//#add sitting;
//$array = [
//    [
//        'key'=>'SanTong',
//        'type'=>'sms_account',
//        'setting'=>'{"service_name":"三通","api":"SanTong","yingxiao":{"account":"dh77264","password":"6XWjN1nk"},"hangye":{"account":"dh77263","password":"Dk4CT5ZL"}}',
//        'add_time'=>time(),
//    ]
//    ,
//    [
//        'key'=>'ChuangLan',
//        'type'=>'sms_account',
//        'setting'=>'{"service_name":"创蓝","api":"ChuangLan","yingxiao":{"account":"jiurongyx2","password":"Jiurongwangyx2"},"hangye":{"account":"jiurong"},"password":"Aa123456"}',
//        'add_time'=>time(),
//    ],
//    [
//        'key'=>'sms_sign',
//        'type'=>'sms_sign',
//        'setting'=>'{"default":"【玖融网】"}',
//        'add_time'=>time(),
//    ],
//];
//
//DB::NAME('setting')->insertAll($array);
//die();
